package com.manage.context;

public class BaseContext {

    public static ThreadLocal<Long> threadLocal = new ThreadLocal<>();
    public static void setUserId(Long userId) {
        threadLocal.set(userId);
    }
    public static Long getUserId() {
        return threadLocal.get();
    }
}
